﻿
namespace UserDefinedForms.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.FormControl"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class FormControlEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the ControlId property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxControlId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ControlId property.
		/// </summary>
		protected System.Windows.Forms.Label uxControlIdLabel;
		
		/// <summary>
		/// TextBox for the Name property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxName;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Name property.
		/// </summary>
		protected System.Windows.Forms.Label uxNameLabel;
		
		/// <summary>
		/// ComboBox for the ControlTypeId property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxControlTypeId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ControlTypeId property.
		/// </summary>
		protected System.Windows.Forms.Label uxControlTypeIdLabel;
		
		/// <summary>
		/// TextBox for the ToolTipText property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxToolTipText;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ToolTipText property.
		/// </summary>
		protected System.Windows.Forms.Label uxToolTipTextLabel;
		
		/// <summary>
		/// CheckBox for the Border property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxBorder;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Border property.
		/// </summary>
		protected System.Windows.Forms.Label uxBorderLabel;
		
		/// <summary>
		/// TextBox for the Top property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxTop;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Top property.
		/// </summary>
		protected System.Windows.Forms.Label uxTopLabel;
		
		/// <summary>
		/// TextBox for the Left property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxLeft;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Left property.
		/// </summary>
		protected System.Windows.Forms.Label uxLeftLabel;
		
		/// <summary>
		/// TextBox for the Width property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxWidth;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Width property.
		/// </summary>
		protected System.Windows.Forms.Label uxWidthLabel;
		
		/// <summary>
		/// TextBox for the Height property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxHeight;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Height property.
		/// </summary>
		protected System.Windows.Forms.Label uxHeightLabel;
		
		/// <summary>
		/// TextBox for the Font property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxFont;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Font property.
		/// </summary>
		protected System.Windows.Forms.Label uxFontLabel;
		
		/// <summary>
		/// TextBox for the DefaultValue property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDefaultValue;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DefaultValue property.
		/// </summary>
		protected System.Windows.Forms.Label uxDefaultValueLabel;
		
		/// <summary>
		/// CheckBox for the Visible property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxVisible;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Visible property.
		/// </summary>
		protected System.Windows.Forms.Label uxVisibleLabel;
		
		/// <summary>
		/// CheckBox for the Enable property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxEnable;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Enable property.
		/// </summary>
		protected System.Windows.Forms.Label uxEnableLabel;
		
		/// <summary>
		/// CheckBox for the IsSummaryField property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxIsSummaryField;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IsSummaryField property.
		/// </summary>
		protected System.Windows.Forms.Label uxIsSummaryFieldLabel;
		
		/// <summary>
		/// CheckBox for the IsCommon property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxIsCommon;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IsCommon property.
		/// </summary>
		protected System.Windows.Forms.Label uxIsCommonLabel;
		
		/// <summary>
		/// CheckBox for the IsCode property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxIsCode;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IsCode property.
		/// </summary>
		protected System.Windows.Forms.Label uxIsCodeLabel;
		
		/// <summary>
		/// CheckBox for the IsLayout property.
		/// </summary>
		protected System.Windows.Forms.CheckBox uxIsLayout;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IsLayout property.
		/// </summary>
		protected System.Windows.Forms.Label uxIsLayoutLabel;
		
		/// <summary>
		/// ComboBox for the ComponentId property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxComponentId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ComponentId property.
		/// </summary>
		protected System.Windows.Forms.Label uxComponentIdLabel;
		
		/// <summary>
		/// ComboBox for the FormId property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxFormId;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the FormId property.
		/// </summary>
		protected System.Windows.Forms.Label uxFormIdLabel;
		
		/// <summary>
		/// TextBox for the FormType property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxFormType;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the FormType property.
		/// </summary>
		protected System.Windows.Forms.Label uxFormTypeLabel;
		
		/// <summary>
		/// TextBox for the Status property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxStatus;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Status property.
		/// </summary>
		protected System.Windows.Forms.Label uxStatusLabel;
		
		/// <summary>
		/// TextBox for the Description property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDescription;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Description property.
		/// </summary>
		protected System.Windows.Forms.Label uxDescriptionLabel;
		#endregion
		
		#region Main entity
		private Entities.FormControl _FormControl;
		/// <summary>
		/// Gets or sets the <see cref="Entities.FormControl"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.FormControl"/> instance.</value>
		public Entities.FormControl FormControl
		{
			get {return this._FormControl;}
			set
			{
				this._FormControl = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxControlId.DataBindings.Clear();
			this.uxControlId.DataBindings.Add("Text", this.uxBindingSource, "ControlId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxName.DataBindings.Clear();
			this.uxName.DataBindings.Add("Text", this.uxBindingSource, "Name", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxControlTypeId.DataBindings.Clear();
			this.uxControlTypeId.DataBindings.Add("SelectedValue", this.uxBindingSource, "ControlTypeId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxToolTipText.DataBindings.Clear();
			this.uxToolTipText.DataBindings.Add("Text", this.uxBindingSource, "ToolTipText", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxBorder.DataBindings.Clear();
			this.uxBorder.DataBindings.Add("Checked", this.uxBindingSource, "Border", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxTop.DataBindings.Clear();
			this.uxTop.DataBindings.Add("Text", this.uxBindingSource, "Top", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxLeft.DataBindings.Clear();
			this.uxLeft.DataBindings.Add("Text", this.uxBindingSource, "Left", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxWidth.DataBindings.Clear();
			this.uxWidth.DataBindings.Add("Text", this.uxBindingSource, "Width", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxHeight.DataBindings.Clear();
			this.uxHeight.DataBindings.Add("Text", this.uxBindingSource, "Height", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxFont.DataBindings.Clear();
			this.uxFont.DataBindings.Add("Text", this.uxBindingSource, "Font", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDefaultValue.DataBindings.Clear();
			this.uxDefaultValue.DataBindings.Add("Text", this.uxBindingSource, "DefaultValue", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxVisible.DataBindings.Clear();
			this.uxVisible.DataBindings.Add("Checked", this.uxBindingSource, "Visible", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxEnable.DataBindings.Clear();
			this.uxEnable.DataBindings.Add("Checked", this.uxBindingSource, "Enable", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIsSummaryField.DataBindings.Clear();
			this.uxIsSummaryField.DataBindings.Add("Checked", this.uxBindingSource, "IsSummaryField", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIsCommon.DataBindings.Clear();
			this.uxIsCommon.DataBindings.Add("Checked", this.uxBindingSource, "IsCommon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIsCode.DataBindings.Clear();
			this.uxIsCode.DataBindings.Add("Checked", this.uxBindingSource, "IsCode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIsLayout.DataBindings.Clear();
			this.uxIsLayout.DataBindings.Add("Checked", this.uxBindingSource, "IsLayout", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxComponentId.DataBindings.Clear();
			this.uxComponentId.DataBindings.Add("SelectedValue", this.uxBindingSource, "ComponentId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxFormId.DataBindings.Clear();
			this.uxFormId.DataBindings.Add("SelectedValue", this.uxBindingSource, "FormId", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxFormType.DataBindings.Clear();
			this.uxFormType.DataBindings.Add("Text", this.uxBindingSource, "FormType", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStatus.DataBindings.Clear();
			this.uxStatus.DataBindings.Add("Text", this.uxBindingSource, "Status", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDescription.DataBindings.Clear();
			this.uxDescription.DataBindings.Add("Text", this.uxBindingSource, "Description", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="FormControlEditControlBase"/> class.
		/// </summary>
		public FormControlEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_FormControl != null) _FormControl.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxControlId = new System.Windows.Forms.TextBox();
			uxControlIdLabel = new System.Windows.Forms.Label();
			this.uxName = new System.Windows.Forms.TextBox();
			uxNameLabel = new System.Windows.Forms.Label();
			this.uxControlTypeId = new System.Windows.Forms.ComboBox();
			uxControlTypeIdLabel = new System.Windows.Forms.Label();
			this.uxToolTipText = new System.Windows.Forms.TextBox();
			uxToolTipTextLabel = new System.Windows.Forms.Label();
			this.uxBorder = new System.Windows.Forms.CheckBox();
			uxBorderLabel = new System.Windows.Forms.Label();
			this.uxTop = new System.Windows.Forms.TextBox();
			uxTopLabel = new System.Windows.Forms.Label();
			this.uxLeft = new System.Windows.Forms.TextBox();
			uxLeftLabel = new System.Windows.Forms.Label();
			this.uxWidth = new System.Windows.Forms.TextBox();
			uxWidthLabel = new System.Windows.Forms.Label();
			this.uxHeight = new System.Windows.Forms.TextBox();
			uxHeightLabel = new System.Windows.Forms.Label();
			this.uxFont = new System.Windows.Forms.TextBox();
			uxFontLabel = new System.Windows.Forms.Label();
			this.uxDefaultValue = new System.Windows.Forms.TextBox();
			uxDefaultValueLabel = new System.Windows.Forms.Label();
			this.uxVisible = new System.Windows.Forms.CheckBox();
			uxVisibleLabel = new System.Windows.Forms.Label();
			this.uxEnable = new System.Windows.Forms.CheckBox();
			uxEnableLabel = new System.Windows.Forms.Label();
			this.uxIsSummaryField = new System.Windows.Forms.CheckBox();
			uxIsSummaryFieldLabel = new System.Windows.Forms.Label();
			this.uxIsCommon = new System.Windows.Forms.CheckBox();
			uxIsCommonLabel = new System.Windows.Forms.Label();
			this.uxIsCode = new System.Windows.Forms.CheckBox();
			uxIsCodeLabel = new System.Windows.Forms.Label();
			this.uxIsLayout = new System.Windows.Forms.CheckBox();
			uxIsLayoutLabel = new System.Windows.Forms.Label();
			this.uxComponentId = new System.Windows.Forms.ComboBox();
			uxComponentIdLabel = new System.Windows.Forms.Label();
			this.uxFormId = new System.Windows.Forms.ComboBox();
			uxFormIdLabel = new System.Windows.Forms.Label();
			this.uxFormType = new System.Windows.Forms.TextBox();
			uxFormTypeLabel = new System.Windows.Forms.Label();
			this.uxStatus = new System.Windows.Forms.TextBox();
			uxStatusLabel = new System.Windows.Forms.Label();
			this.uxDescription = new System.Windows.Forms.TextBox();
			uxDescriptionLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxControlIdLabel
			//
			this.uxControlIdLabel.Name = "uxControlIdLabel";
			this.uxControlIdLabel.Text = "Control Id:";
			this.uxControlIdLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxControlIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxControlIdLabel);			
			//
			// uxControlId
			//
			this.uxControlId.Name = "uxControlId";
            this.uxControlId.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxControlId);
			this.uxControlId.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxControlId);
			//
			// uxNameLabel
			//
			this.uxNameLabel.Name = "uxNameLabel";
			this.uxNameLabel.Text = "Name:";
			this.uxNameLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxNameLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxNameLabel);			
			//
			// uxName
			//
			this.uxName.Name = "uxName";
			this.uxName.Width = 250;
			this.uxName.MaxLength = 100;
			//this.uxTableLayoutPanel.Controls.Add(this.uxName);
			this.uxName.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxName);
			//
			// uxControlTypeIdLabel
			//
			this.uxControlTypeIdLabel.Name = "uxControlTypeIdLabel";
			this.uxControlTypeIdLabel.Text = "Control Type Id:";
			this.uxControlTypeIdLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxControlTypeIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxControlTypeIdLabel);			
			//
			// uxControlTypeId
			//
			this.uxControlTypeId.Name = "uxControlTypeId";
			//this.uxTableLayoutPanel.Controls.Add(this.uxControlTypeId);
			this.uxControlTypeId.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxControlTypeId);
			//
			// uxToolTipTextLabel
			//
			this.uxToolTipTextLabel.Name = "uxToolTipTextLabel";
			this.uxToolTipTextLabel.Text = "Tool Tip Text:";
			this.uxToolTipTextLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxToolTipTextLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxToolTipTextLabel);			
			//
			// uxToolTipText
			//
			this.uxToolTipText.Name = "uxToolTipText";
			this.uxToolTipText.Width = 250;
			this.uxToolTipText.MaxLength = 1000;
			//this.uxTableLayoutPanel.Controls.Add(this.uxToolTipText);
			this.uxToolTipText.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxToolTipText);
			//
			// uxBorderLabel
			//
			this.uxBorderLabel.Name = "uxBorderLabel";
			this.uxBorderLabel.Text = "Border:";
			this.uxBorderLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxBorderLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxBorderLabel);			
			//
			// uxBorder
			//
			this.uxBorder.Name = "uxBorder";
			//this.uxTableLayoutPanel.Controls.Add(this.uxBorder);
			this.uxBorder.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxBorder);
			//
			// uxTopLabel
			//
			this.uxTopLabel.Name = "uxTopLabel";
			this.uxTopLabel.Text = "Top:";
			this.uxTopLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxTopLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxTopLabel);			
			//
			// uxTop
			//
			this.uxTop.Name = "uxTop";
			//this.uxTableLayoutPanel.Controls.Add(this.uxTop);
			this.uxTop.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxTop);
			//
			// uxLeftLabel
			//
			this.uxLeftLabel.Name = "uxLeftLabel";
			this.uxLeftLabel.Text = "Left:";
			this.uxLeftLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxLeftLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxLeftLabel);			
			//
			// uxLeft
			//
			this.uxLeft.Name = "uxLeft";
			//this.uxTableLayoutPanel.Controls.Add(this.uxLeft);
			this.uxLeft.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxLeft);
			//
			// uxWidthLabel
			//
			this.uxWidthLabel.Name = "uxWidthLabel";
			this.uxWidthLabel.Text = "Width:";
			this.uxWidthLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxWidthLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxWidthLabel);			
			//
			// uxWidth
			//
			this.uxWidth.Name = "uxWidth";
			//this.uxTableLayoutPanel.Controls.Add(this.uxWidth);
			this.uxWidth.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxWidth);
			//
			// uxHeightLabel
			//
			this.uxHeightLabel.Name = "uxHeightLabel";
			this.uxHeightLabel.Text = "Height:";
			this.uxHeightLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxHeightLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxHeightLabel);			
			//
			// uxHeight
			//
			this.uxHeight.Name = "uxHeight";
			//this.uxTableLayoutPanel.Controls.Add(this.uxHeight);
			this.uxHeight.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxHeight);
			//
			// uxFontLabel
			//
			this.uxFontLabel.Name = "uxFontLabel";
			this.uxFontLabel.Text = "Font:";
			this.uxFontLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxFontLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxFontLabel);			
			//
			// uxFont
			//
			this.uxFont.Name = "uxFont";
			this.uxFont.Width = 250;
			this.uxFont.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxFont);
			this.uxFont.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxFont);
			//
			// uxDefaultValueLabel
			//
			this.uxDefaultValueLabel.Name = "uxDefaultValueLabel";
			this.uxDefaultValueLabel.Text = "Default Value:";
			this.uxDefaultValueLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxDefaultValueLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDefaultValueLabel);			
			//
			// uxDefaultValue
			//
			this.uxDefaultValue.Name = "uxDefaultValue";
			this.uxDefaultValue.Width = 250;
			this.uxDefaultValue.MaxLength = 200;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDefaultValue);
			this.uxDefaultValue.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxDefaultValue);
			//
			// uxVisibleLabel
			//
			this.uxVisibleLabel.Name = "uxVisibleLabel";
			this.uxVisibleLabel.Text = "Visible:";
			this.uxVisibleLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxVisibleLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxVisibleLabel);			
			//
			// uxVisible
			//
			this.uxVisible.Name = "uxVisible";
			//this.uxTableLayoutPanel.Controls.Add(this.uxVisible);
			this.uxVisible.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxVisible);
			//
			// uxEnableLabel
			//
			this.uxEnableLabel.Name = "uxEnableLabel";
			this.uxEnableLabel.Text = "Enable:";
			this.uxEnableLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxEnableLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxEnableLabel);			
			//
			// uxEnable
			//
			this.uxEnable.Name = "uxEnable";
			//this.uxTableLayoutPanel.Controls.Add(this.uxEnable);
			this.uxEnable.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxEnable);
			//
			// uxIsSummaryFieldLabel
			//
			this.uxIsSummaryFieldLabel.Name = "uxIsSummaryFieldLabel";
			this.uxIsSummaryFieldLabel.Text = "Is Summary Field:";
			this.uxIsSummaryFieldLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxIsSummaryFieldLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsSummaryFieldLabel);			
			//
			// uxIsSummaryField
			//
			this.uxIsSummaryField.Name = "uxIsSummaryField";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsSummaryField);
			this.uxIsSummaryField.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxIsSummaryField);
			//
			// uxIsCommonLabel
			//
			this.uxIsCommonLabel.Name = "uxIsCommonLabel";
			this.uxIsCommonLabel.Text = "Is Common:";
			this.uxIsCommonLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxIsCommonLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsCommonLabel);			
			//
			// uxIsCommon
			//
			this.uxIsCommon.Name = "uxIsCommon";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsCommon);
			this.uxIsCommon.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxIsCommon);
			//
			// uxIsCodeLabel
			//
			this.uxIsCodeLabel.Name = "uxIsCodeLabel";
			this.uxIsCodeLabel.Text = "Is Code:";
			this.uxIsCodeLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxIsCodeLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsCodeLabel);			
			//
			// uxIsCode
			//
			this.uxIsCode.Name = "uxIsCode";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsCode);
			this.uxIsCode.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxIsCode);
			//
			// uxIsLayoutLabel
			//
			this.uxIsLayoutLabel.Name = "uxIsLayoutLabel";
			this.uxIsLayoutLabel.Text = "Is Layout:";
			this.uxIsLayoutLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxIsLayoutLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsLayoutLabel);			
			//
			// uxIsLayout
			//
			this.uxIsLayout.Name = "uxIsLayout";
			//this.uxTableLayoutPanel.Controls.Add(this.uxIsLayout);
			this.uxIsLayout.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxIsLayout);
			//
			// uxComponentIdLabel
			//
			this.uxComponentIdLabel.Name = "uxComponentIdLabel";
			this.uxComponentIdLabel.Text = "Component Id:";
			this.uxComponentIdLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxComponentIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxComponentIdLabel);			
			//
			// uxComponentId
			//
			this.uxComponentId.Name = "uxComponentId";
			//this.uxTableLayoutPanel.Controls.Add(this.uxComponentId);
			this.uxComponentId.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxComponentId);
			//
			// uxFormIdLabel
			//
			this.uxFormIdLabel.Name = "uxFormIdLabel";
			this.uxFormIdLabel.Text = "Form Id:";
			this.uxFormIdLabel.Location = new System.Drawing.Point(3, 468);
			this.Controls.Add(this.uxFormIdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxFormIdLabel);			
			//
			// uxFormId
			//
			this.uxFormId.Name = "uxFormId";
			//this.uxTableLayoutPanel.Controls.Add(this.uxFormId);
			this.uxFormId.Location = new System.Drawing.Point(160, 468);
			this.Controls.Add(this.uxFormId);
			//
			// uxFormTypeLabel
			//
			this.uxFormTypeLabel.Name = "uxFormTypeLabel";
			this.uxFormTypeLabel.Text = "Form Type:";
			this.uxFormTypeLabel.Location = new System.Drawing.Point(3, 494);
			this.Controls.Add(this.uxFormTypeLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxFormTypeLabel);			
			//
			// uxFormType
			//
			this.uxFormType.Name = "uxFormType";
			//this.uxTableLayoutPanel.Controls.Add(this.uxFormType);
			this.uxFormType.Location = new System.Drawing.Point(160, 494);
			this.Controls.Add(this.uxFormType);
			//
			// uxStatusLabel
			//
			this.uxStatusLabel.Name = "uxStatusLabel";
			this.uxStatusLabel.Text = "Status:";
			this.uxStatusLabel.Location = new System.Drawing.Point(3, 520);
			this.Controls.Add(this.uxStatusLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStatusLabel);			
			//
			// uxStatus
			//
			this.uxStatus.Name = "uxStatus";
			//this.uxTableLayoutPanel.Controls.Add(this.uxStatus);
			this.uxStatus.Location = new System.Drawing.Point(160, 520);
			this.Controls.Add(this.uxStatus);
			//
			// uxDescriptionLabel
			//
			this.uxDescriptionLabel.Name = "uxDescriptionLabel";
			this.uxDescriptionLabel.Text = "Description:";
			this.uxDescriptionLabel.Location = new System.Drawing.Point(3, 546);
			this.Controls.Add(this.uxDescriptionLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDescriptionLabel);			
			//
			// uxDescription
			//
			this.uxDescription.Name = "uxDescription";
			this.uxDescription.Width = 250;
			this.uxDescription.MaxLength = 1000;
			//this.uxTableLayoutPanel.Controls.Add(this.uxDescription);
			this.uxDescription.Location = new System.Drawing.Point(160, 546);
			this.Controls.Add(this.uxDescription);
			//
			// uxComponentId
			//				
			this.uxComponentId.DisplayMember = "Name";	
			this.uxComponentId.ValueMember = "ControlId";	
			//
			// uxFormId
			//				
			this.uxFormId.DisplayMember = "Name";	
			this.uxFormId.ValueMember = "FormId";	
			//
			// uxControlTypeId
			//				
			this.uxControlTypeId.DisplayMember = "Name";	
			this.uxControlTypeId.ValueMember = "ControlTypeId";	
			// 
			// FormControlEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "FormControlEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.FormControl> _ComponentIdList;
		
		/// <summary>
		/// The ComboBox associated with the ComponentId property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.FormControl> ComponentIdList
		{
			get {return _ComponentIdList;}
			set 
			{
				this._ComponentIdList = value;
				this.uxComponentId.DataSource = null;
				this.uxComponentId.DataSource = value;
			}
		}
		
		private bool _allowNewItemInComponentIdList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the ComponentId property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInComponentIdList
		{
			get { return _allowNewItemInComponentIdList;}
			set
			{
				this._allowNewItemInComponentIdList = value;
				this.uxComponentId.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.DesignForm> _FormIdList;
		
		/// <summary>
		/// The ComboBox associated with the FormId property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.DesignForm> FormIdList
		{
			get {return _FormIdList;}
			set 
			{
				this._FormIdList = value;
				this.uxFormId.DataSource = null;
				this.uxFormId.DataSource = value;
			}
		}
		
		private bool _allowNewItemInFormIdList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the FormId property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInFormIdList
		{
			get { return _allowNewItemInFormIdList;}
			set
			{
				this._allowNewItemInFormIdList = value;
				this.uxFormId.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.ControlType> _ControlTypeIdList;
		
		/// <summary>
		/// The ComboBox associated with the ControlTypeId property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.ControlType> ControlTypeIdList
		{
			get {return _ControlTypeIdList;}
			set 
			{
				this._ControlTypeIdList = value;
				this.uxControlTypeId.DataSource = null;
				this.uxControlTypeId.DataSource = value;
			}
		}
		
		private bool _allowNewItemInControlTypeIdList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the ControlTypeId property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInControlTypeIdList
		{
			get { return _allowNewItemInControlTypeIdList;}
			set
			{
				this._allowNewItemInControlTypeIdList = value;
				this.uxControlTypeId.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
        #region Field visibility

        /// <summary>
        /// Indicates if the controls associated with the uxControlId property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxControlIdVisible
        {
            get { return this.uxControlId.Visible; }
            set
            {
                this.uxControlIdLabel.Visible = value;
                this.uxControlId.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxControlId property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxControlIdEnabled
        {
            get { return this.uxControlId.Enabled; }
            set
            {
                this.uxControlId.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxName property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxNameVisible
        {
            get { return this.uxName.Visible; }
            set
            {
                this.uxNameLabel.Visible = value;
                this.uxName.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxName property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxNameEnabled
        {
            get { return this.uxName.Enabled; }
            set
            {
                this.uxName.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxControlTypeId property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxControlTypeIdVisible
        {
            get { return this.uxControlTypeId.Visible; }
            set
            {
                this.uxControlTypeIdLabel.Visible = value;
                this.uxControlTypeId.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxControlTypeId property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxControlTypeIdEnabled
        {
            get { return this.uxControlTypeId.Enabled; }
            set
            {
                this.uxControlTypeId.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxToolTipText property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxToolTipTextVisible
        {
            get { return this.uxToolTipText.Visible; }
            set
            {
                this.uxToolTipTextLabel.Visible = value;
                this.uxToolTipText.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxToolTipText property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxToolTipTextEnabled
        {
            get { return this.uxToolTipText.Enabled; }
            set
            {
                this.uxToolTipText.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxBorder property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxBorderVisible
        {
            get { return this.uxBorder.Visible; }
            set
            {
                this.uxBorderLabel.Visible = value;
                this.uxBorder.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxBorder property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxBorderEnabled
        {
            get { return this.uxBorder.Enabled; }
            set
            {
                this.uxBorder.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxTop property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxTopVisible
        {
            get { return this.uxTop.Visible; }
            set
            {
                this.uxTopLabel.Visible = value;
                this.uxTop.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxTop property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxTopEnabled
        {
            get { return this.uxTop.Enabled; }
            set
            {
                this.uxTop.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxLeft property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxLeftVisible
        {
            get { return this.uxLeft.Visible; }
            set
            {
                this.uxLeftLabel.Visible = value;
                this.uxLeft.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxLeft property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxLeftEnabled
        {
            get { return this.uxLeft.Enabled; }
            set
            {
                this.uxLeft.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxWidth property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxWidthVisible
        {
            get { return this.uxWidth.Visible; }
            set
            {
                this.uxWidthLabel.Visible = value;
                this.uxWidth.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxWidth property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxWidthEnabled
        {
            get { return this.uxWidth.Enabled; }
            set
            {
                this.uxWidth.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxHeight property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxHeightVisible
        {
            get { return this.uxHeight.Visible; }
            set
            {
                this.uxHeightLabel.Visible = value;
                this.uxHeight.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxHeight property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxHeightEnabled
        {
            get { return this.uxHeight.Enabled; }
            set
            {
                this.uxHeight.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxFont property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxFontVisible
        {
            get { return this.uxFont.Visible; }
            set
            {
                this.uxFontLabel.Visible = value;
                this.uxFont.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxFont property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxFontEnabled
        {
            get { return this.uxFont.Enabled; }
            set
            {
                this.uxFont.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxDefaultValue property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxDefaultValueVisible
        {
            get { return this.uxDefaultValue.Visible; }
            set
            {
                this.uxDefaultValueLabel.Visible = value;
                this.uxDefaultValue.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxDefaultValue property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxDefaultValueEnabled
        {
            get { return this.uxDefaultValue.Enabled; }
            set
            {
                this.uxDefaultValue.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxVisible property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxVisibleVisible
        {
            get { return this.uxVisible.Visible; }
            set
            {
                this.uxVisibleLabel.Visible = value;
                this.uxVisible.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxVisible property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxVisibleEnabled
        {
            get { return this.uxVisible.Enabled; }
            set
            {
                this.uxVisible.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxEnable property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxEnableVisible
        {
            get { return this.uxEnable.Visible; }
            set
            {
                this.uxEnableLabel.Visible = value;
                this.uxEnable.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxEnable property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxEnableEnabled
        {
            get { return this.uxEnable.Enabled; }
            set
            {
                this.uxEnable.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIsSummaryField property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIsSummaryFieldVisible
        {
            get { return this.uxIsSummaryField.Visible; }
            set
            {
                this.uxIsSummaryFieldLabel.Visible = value;
                this.uxIsSummaryField.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIsSummaryField property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIsSummaryFieldEnabled
        {
            get { return this.uxIsSummaryField.Enabled; }
            set
            {
                this.uxIsSummaryField.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIsCommon property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIsCommonVisible
        {
            get { return this.uxIsCommon.Visible; }
            set
            {
                this.uxIsCommonLabel.Visible = value;
                this.uxIsCommon.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIsCommon property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIsCommonEnabled
        {
            get { return this.uxIsCommon.Enabled; }
            set
            {
                this.uxIsCommon.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIsCode property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIsCodeVisible
        {
            get { return this.uxIsCode.Visible; }
            set
            {
                this.uxIsCodeLabel.Visible = value;
                this.uxIsCode.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIsCode property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIsCodeEnabled
        {
            get { return this.uxIsCode.Enabled; }
            set
            {
                this.uxIsCode.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxIsLayout property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxIsLayoutVisible
        {
            get { return this.uxIsLayout.Visible; }
            set
            {
                this.uxIsLayoutLabel.Visible = value;
                this.uxIsLayout.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxIsLayout property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxIsLayoutEnabled
        {
            get { return this.uxIsLayout.Enabled; }
            set
            {
                this.uxIsLayout.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxComponentId property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxComponentIdVisible
        {
            get { return this.uxComponentId.Visible; }
            set
            {
                this.uxComponentIdLabel.Visible = value;
                this.uxComponentId.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxComponentId property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxComponentIdEnabled
        {
            get { return this.uxComponentId.Enabled; }
            set
            {
                this.uxComponentId.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxFormId property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxFormIdVisible
        {
            get { return this.uxFormId.Visible; }
            set
            {
                this.uxFormIdLabel.Visible = value;
                this.uxFormId.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxFormId property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxFormIdEnabled
        {
            get { return this.uxFormId.Enabled; }
            set
            {
                this.uxFormId.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxFormType property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxFormTypeVisible
        {
            get { return this.uxFormType.Visible; }
            set
            {
                this.uxFormTypeLabel.Visible = value;
                this.uxFormType.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxFormType property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxFormTypeEnabled
        {
            get { return this.uxFormType.Enabled; }
            set
            {
                this.uxFormType.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxStatus property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxStatusVisible
        {
            get { return this.uxStatus.Visible; }
            set
            {
                this.uxStatusLabel.Visible = value;
                this.uxStatus.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxStatus property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxStatusEnabled
        {
            get { return this.uxStatus.Enabled; }
            set
            {
                this.uxStatus.Enabled = value;
            }
        }
        /// <summary>
        /// Indicates if the controls associated with the uxDescription property should be visible.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Visible property for related controls.")]
        public bool uxDescriptionVisible
        {
            get { return this.uxDescription.Visible; }
            set
            {
                this.uxDescriptionLabel.Visible = value;
                this.uxDescription.Visible = value;
            }
        }

        /// <summary>
        /// Indicates if the controls associated with the uxDescription property should be enabled.
        /// </summary>
        [System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Set Enabled property for related controls.")]
        public bool uxDescriptionEnabled
        {
            get { return this.uxDescription.Enabled; }
            set
            {
                this.uxDescription.Enabled = value;
            }
        }

        #endregion

		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
